package com.uni.crawl.model.query.crawl;


import com.uni.crawl.common.base.BasePageQuery;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "爬虫数据分页查询对象")
public class CrawlDataPageQuery extends BasePageQuery {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("空间编码")
    private String nsCode;

    @ApiModelProperty("模板编码")
    private String tmplCode;

    @ApiModelProperty("实例ID")
    private Long instanceId;

    @ApiModelProperty("队列ID")
    private Long queueId;

    @ApiModelProperty("实例状态。-1-失败；0-初始化；1-进行中；2-抓取成功；3-解析完成")
    private Integer instanceStatus;

}


